import vue from '@vitejs/plugin-vue';
import { resolve } from 'path';
import { defineConfig } from 'vite';

function pathResolve(dir: string) {
  return resolve(__dirname, '.', dir);
}
// https://vitejs.dev/config/
export default defineConfig({
  // logLevel: 'silent',
  plugins: [vue()],
  resolve: {
    alias: {
      '@': pathResolve('src')
    },
  },

  server: {
    proxy: {

    }
    // cors:{}
  }
});
